import { ElMessage } from 'element-plus';

export const useMyTip = () => {
  const operationSuccessMsg = (status = 0, message = '승인 성공') => {
    if (status == 0) {
      ElMessage({
        message,
        type: 'success'
      });
    }
  };

  return {
    operationSuccessMsg
  };
};
